

#ifndef MODEL_H
#define MODEL_H

//#ifndef CONTROLLER_H
//#include "controller.h"
//#endif

/*Model
/
/ This is a class that creates a model interface. It holds the functions for one of the 4 towers that will be part of the game and the castle.
/ Later on as we progress we will be defining other function as friends to be able to send them what ever disired
/ information. Weather it be the controller and or view.
/
/
/ Created by : Emilio E. Venegas
/              Sharol Chand
/              Paola Medina
*/

 class Castle;
 class Tower1;

class Model
{
	private:
		char *nameof_game;

	public:
		Model();
        int update(int argc, char* argv[]);

		const char *getName() const;

		int getHealth(Castle &);//Function that gets Castles health
		void setHealth(int, Castle &); //this function will be used to re-set(update) the health of the castle after or when it gets hit by a monster.
		int getFirePower(Tower1 &); //Function that returns the fire power of the tower
		int getCost_Value(Tower1 &); //Function that return the cost of the tower
		int getShot_Speed(Tower1 &); //Function that returns the speed of the shot of the tower
		int count;
		int addone(int);

};
#endif
